'''
用于存放公共文件路径
'''
import os
import pathlib
import logging

class Setting:
    # 项目根路径
    BASE_PATH=pathlib.Path(__file__).resolve().parent.parent
    # 常用文件路径
    EXTRACT_PATH=os.path.join(BASE_PATH,'Data','extract.yml')
    CONFIG_INI_PATH=os.path.join(BASE_PATH,'Conf','config.ini')

    # 日志相关数据
    LOG_PATH=os.path.join(BASE_PATH,'log')
    LOG_LEVEL=logging.DEBUG
    LOG_FORMAT='[%(levelname)s] [%(asctime)s] [%(filename)s-%(funcName)s] [%(module)s] [line:%(lineno)d] [%(message)s]'

if __name__ == '__main__':
   pass